/**
 * 全局路由
 */
const globalRouter = [
	// 默认定位到login界面
	{path: '/', redirect: '/login'},
	// 任意访问值定位到404组件
	{path: '*', redirect: '/404'},
	// 404界面
	{path: '/404', component: () => import('@/views/Common/404'), name: '404', meta: {title: '404未找到'}},
	// 403无权限访问
	{path: '/403', component: () => import('@/views/Common/403'), name: '403', meta: {title: '无权限访问'}},
	// login界面
	{path: '/login', component: () => import('@/views/Login'), name: 'login', meta: {title: '登录界面'}}
]
export default globalRouter
